//
//  HSYGetTokenRequest.m
//  HSY
//
//  Created by 陈浩 on 2017/3/31.
//  Copyright © 2017年 金开门. All rights reserved.
//

#import "HSYGetTokenRequest.h"
#import "NSString+DeviceInfo.h"
#import "GeTuiSdk.h"

@implementation HSYGetTokenRequest

- (NSString *)serviceCode{
    return API_SERVICE_GET_ACCESS_TOKEN;
}

- (NSDictionary *)requestData{
    NSMutableDictionary *params = [@{} mutableCopy];
    params[@"deviceid"] = [NSString uuid];
    params[@"clientid"] = [NSString clientId];
    params[@"deviceName"] = [NSString deviceName];
    params[@"osVersion"] = [NSString deviceSystemVersion];
    params[@"appCode"] = @"hsy";
    params[@"appVersion"] = API_SERVER_VERSION;
    params[@"appChannel"] = @"AppStore";
    
    return [params copy];
}

- (BOOL)needAccessToken{
    return NO;
}

@end
